<!-- 二级标题 -->
<template>
  <div class="title">
    <img src="@/assets/images/rect.png" alt="" class="icon">
    <span class="text">{{ title }}</span>
  </div>
</template>

<script>
export default {
  name: "SubTitle",
  props: {
    title: {
      type: String,
      default: "",
    },
  },
};
</script>
<style scoped lang="scss">
.title {
  padding: 0 28px;
}
.icon {
  width: 15px;
  height: 18px;
  vertical-align: middle;
}
.text {
  display: inline-block;
  margin-left: 6px;
  font-size: 18px;
  font-family: Microsoft YaHei;
  color: #ffffff;
  vertical-align: middle;
}
</style>
